import styles from './category.less'
import {Input,Button} from 'antd'
function category(){
    return <div className={styles.category}>
        <header>工作台/所有文章/分类管理</header>
        <main>
            <div className={styles.left}>
                <h3>添加分类</h3>   
                <div>
                    <Input placeholder="输入分类名称"/>
                    <Input placeholder="输入分类值 (请输入英文,作为路由使用)"/>
                    <Button className={styles.preservation} type="primary">保存</Button>
                </div>        
            </div>
            <div className={styles.right}>
                <h3>所有分类</h3>
                <div>
                    <span>前端</span>
                    <span>后端</span>
                    <span>阅读</span>
                    <span>Linux</span>
                    <span>LeetCode</span>
                    <span>要闻</span>
                </div>
            </div>
        </main>
    </div>
}
export default category;